/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-13 Time: 23:07
 */

import {Action} from "../../../../../configuration/ActionCreator"
import {requestGetDetailDs,requestGetDealPeople,requestToEditOrder} from "../../../../../request/DepartmentalRepairOrderRequest"



export const DepartDetailMsg = 'DepartDetailMsg';
export const getDetailDs = (str) => {
    let action = Action(DepartDetailMsg);
    return dispatch => dispatch(requestGetDetailDs(action, str))
}

export const DealPeople = 'DealPeople';
export const getDealPeople = (str) => {
    let action = Action(DealPeople);
    return dispatch => dispatch(requestGetDealPeople(action, str))
}

export const EditOrder = 'EditOrder';
export const toEditOrder = (str) => {
    let action = Action(EditOrder);
    return dispatch => dispatch(requestToEditOrder(action, str))
}

